﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.DataAccess;

namespace SD.Business
{
    public static class BusinessBus
    {
        public static BusinessType GetBusiness(int businessId)
        {
            BusinessType newbusiness = BussinessDao.GetBusiness(businessId);
            return newbusiness;
        }

        public static BusinessType GetBusinessByName(string businessName)
        {
            BusinessType newbusiness = BussinessDao.GetBusinessByName(businessName);
            return newbusiness;
        }
    }
}
